package com.mkl.ttxt.pd.dao;

import com.mkl.ttxt.pd.bo.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IBoxDao {

    void cleanMember(@Param("userId")Integer userId);

    void addMember(@Param("member")MemberOrCard member, @Param("userId")Integer userId);

    void addBox(@Param("box")Box box, @Param("memberId")Integer memberId, @Param("userId")Integer userId);

    List<com.mkl.ttxt.pd.bo.Param> getAllParam(@Param("userId")Integer userId);

    void cleanParam(@Param("userId")Integer userId);

    void batchInsert(@Param("paramList")List<com.mkl.ttxt.pd.bo.Param> paramList, @Param("userId")Integer userId);

    void updateParam(@Param("id")Integer id, @Param("value")String value, @Param("userId")Integer userId);

    String getParam(@Param("userId")Integer userId, @Param("key")String key);

    void setWeightZero(@Param("userId")Integer userId);

    List<Lineup> getMaxLineUpDamageList(@Param("userId")Integer userId);

    void updateParamByKey(@Param("userId")Integer userId, @Param("paramKey")String paramKey, @Param("value")String value);

    void recordDamage(@Param("record")Record record, @Param("userId")Integer userId);
}
